<?php

$user_id = $GLOBALS['user_id'];

$user = new user($user_id);
$user_info[$user_id] = $user->load_tables('user_settings,user_stats,user_gladiator');

//echo government_setting('treasury_name');

// echo '<pre>';
// echo var_dump($user_info);
// echo '</pre>';

echo display_text('rome');


/********************************
*
*   Downtown SECTION
*
*               (Start)
*
**********************************/
echo '<br><h2>Via Sacra</h2>';

    $options = array();
    $options['/home/'] = 'Go Home';
    $options['/forum/'] = 'Go to the Forum';
    $options['/vote/'] = 'Go to the Voting Booth';
    $options['/alps/'] = 'Wait in line to go to the alps <small>(reqs ticket)</small>';
echo '<p>';
echo player_options($options);
echo '</p>';
/********************************
*
*   Downtown SECTION
*
*    ZZZZZZZ    (END) ZZZZZZZZZZ
*
**********************************/



/********************************
*
*   Basilica Julia SECTION
*
*               (Start)
*
**********************************/
echo '<br><h2>Basilica Julia</h2>';

$options = array();
$options['/wep_insp/'] = 'Office of Aediles';

echo '<p>';
echo player_options($options);
echo '</p>';
/********************************
*
*   Basilica Julia SECTION
*
*    ZZZZZZZ    (END) ZZZZZZZZZZ
*
**********************************/




echo '<br><h2>Basilica Aemilia</h2>';

$options = array();
    
$query = "SELECT * FROM `user_business` ORDER BY `advertising_paid` DESC";
$result = $db->query($query);

while ($row = $result->fetch_object()) 
{
	$options["/$row->type/$row->id/"] = "$row->name";
}
    
echo '<p>';
echo player_options($options);
echo '</p>';

/*switch (@$_REQUEST['function'])
{
	case 'shops':
		echo 'stalls';
		break;
	default:
		break;
}*/

?>